package com.xmtlxx.tms.domain.vo;

import com.xmtlxx.common.annotation.ExcelDictFormat;
import com.xmtlxx.common.convert.ExcelDictConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;



/**
 * 车次车辆视图对象 t_schedule_dtl
 *
 * @author xmtlxx
 * @date 2022-08-15
 */
@Data
@ApiModel("车次车辆视图对象")
@ExcelIgnoreUnannotated
public class ScheduleDtlVo {

    private static final long serialVersionUID = 1L;

    /**
     * 车次车辆ID
     */
    @ExcelProperty(value = "车次车辆ID")
    @ApiModelProperty("车次车辆ID")
    private String id;

    /**
     * 车次ID
     */
    @ExcelProperty(value = "车次ID")
    @ApiModelProperty("车次ID")
    private String scheduleId;

    /**
     * 车辆ID
     */
    @ExcelProperty(value = "车辆ID")
    @ApiModelProperty("车辆ID")
    private String carId;

    /**
     * 车牌号
     */
    @ExcelProperty(value = "车牌号")
    @ApiModelProperty("车牌号")
    private String carNumber;

    /**
     * 驾驶员ID
     */
    @ExcelProperty(value = "驾驶员ID")
    @ApiModelProperty("驾驶员ID")
    private String driverId;

    /**
     * 驾驶员
     */
    @ExcelProperty(value = "驾驶员")
    @ApiModelProperty("驾驶员")
    private String driverName;

    /**
     * 接单量
     */
    @ExcelProperty(value = "接单量")
    @ApiModelProperty("接单量")
    private Long nums;

    /**
     * 已接单
     */
    @ExcelProperty(value = "已接单")
    @ApiModelProperty("已接单")
    private Long takes;

    /**
     * 进行中
     */
    @ExcelProperty(value = "进行中")
    @ApiModelProperty("进行中")
    private Long durings;

    /**
     * 已完成
     */
    @ExcelProperty(value = "已完成")
    @ApiModelProperty("已完成")
    private Long finishes;

    /**
     * 异常数
     */
    @ExcelProperty(value = "异常数")
    @ApiModelProperty("异常数")
    private Long errors;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "tms_car_work_status")
    @ApiModelProperty("状态")
    private String status;

    /**
     * 创建人
     */
    @ExcelProperty(value = "创建人")
    @ApiModelProperty("创建人")
    private String createBy;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 更新人
     */
    @ExcelProperty(value = "更新人")
    @ApiModelProperty("更新人")
    private String updateBy;

    /**
     * 更新时间
     */
    @ExcelProperty(value = "更新时间")
    @ApiModelProperty("更新时间")
    private Date updateTime;

    /**
     * 删除标识
     */
    @ExcelProperty(value = "删除标识", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_del_flag")
    @ApiModelProperty("删除标识")
    private String delFlag;


}
